import Layout from '@/layout'

const carPlateRouter = {
  path: '/carplates',
  component: Layout,
  name: '车牌管理',
  redirect: '/carplates/ManageUser',
  alwaysShow: true, // 当子路由有一个不显示时会导致这个父路由不显示,可以设置alwayShow属性进行总是显示
  meta: {
    title: '车牌管理',
    icon: 'guide',
    roles: ['editor']
  },
  children: [
    {
      path: 'ManageCarPlate',
      component: () => import('@/views/carplates'), // 父路由
      name: '管理车牌',
      meta: { title: '管理车牌', roles: ['editor'], icon: 'people' }
    }
  ]
}
export default carPlateRouter
